
CC = gcc


SNAME = 4G_dial_up

all:export
	
	${CC} ${SNAME}.c -o ${SNAME} -I ../include/ -L ../lib/ -l4G_proj -lpthread

rrun:
	./${SNAME} -n /dev/ttyUSB3 -u 115200 -d 8 -p n -s 1 -f 0

export:
	export LD_LIBRARY_PATH=/home/nbiot/zhukaifa/git/4G_Project/lib/

clean:
	rm -r *.log
	rm -r ${SNAME}
